<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试计算vertex normal</title>

    <!--&lt;!&ndash; libs &ndash;&gt;-->
    <!--<script src="../../node_modules/gl-matrix/gl-matrix.js"></script>-->
    <!--<script src="https://unpkg.com/axios/dist/axios.min.js"></script>-->

    <!--&lt;!&ndash;  utils &ndash;&gt;-->
    <!--<script src="./predef.js"></script>-->
    <!--<script src="./objParser.js"></script>-->
    <!--<script src="./loader.js"></script>-->
    <!--<script src="./shader.js"></script>-->
    <!--<script src="./glext.js"></script>-->
    <script>

        window.onload = function () {
            console.log("----- window.onload");

            loadText("assets/monkey.obj").then((text)=>{
                let data = parseObj(text);
                console.log(data);
            })

        }

    </script>
</head>
<body>
<canvas id="game" style="width: 800px;height: 600px;background-color: black;"></canvas>
</body>
</html>
